@charset "utf-8";
$color:#C01734;
//侧边导航栏
header {
    border-bottom: 1px solid $color;
    .header-wrap {
        position: relative;
        .classifyall {
            width: 234px;
            background-color: #c01734;
            height: 38px;
            line-height: 38px;
            color: white;
            padding-left: 30px;
            >span {
                font-size: 14px;
            }
            >img {
                width: 15px;
                height: 7px;
                margin-top: 15px;
                margin-right: 20px;
            }
            &:hover .side-nav {
                display: block;
            }
            .side-nav {
                width: 234px;
                height: 460px;
                background-color: white;
                border: 1px solid $color;
                position: absolute;
                top: 150px;
                left: 0;
                z-index: 999;
                display: none;
                ul {
                    position: relative;
                    li {
                        width: 233px;
                        .side-nav-a {
                            display: block;
                            padding-left: 30px;
                            height: 51px;
                            line-height: 51px;
                            font-size: 14px;
                            color: #8C8C8C;
                            position: relative;
                            i {
                                position: absolute;
                                top: 19px;
                                right: 20px;
                                font-size: 16px;
                                line-height: 16px;
                            }
                        }
                        &:hover {
                            background-color: $color;
                        }
                        &:hover .side-nav-a {
                            color: white;
                        }
                        &:hover .li-chlid-list {
                            display: block;
                        }
                        &:hover .li-chlid-hotsale {
                            display: block;
                        }
                        .li-chlid-list {
                            width: 490px;
                            height: 453px;
                            display: none;
                            position: absolute;
                            top: 0;
                            left: 234px;
                            background-color: white;
                            box-shadow: 5px 5px 5px rgba(0, 0, 0, .1);
                            overflow-x: auto;
                            overflow-y: hidden;
                            padding: 10px 20px 0;
                            z-index: 1;
                            >div {
                                border-bottom: 1px solid $color;
                                p {
                                    margin: 0;
                                    a {
                                        padding: 0;
                                        font-size: 16px;
                                        color: #333333;
                                    }
                                }
                            }
                            ul {
                                li {
                                    float: left;
                                    width: 225px;
                                    height: 40px;
                                    line-height: none;
                                    margin-top: 10px;
                                    a {
                                        padding: 0;
                                        img {
                                            width: 40px;
                                            height: 40px;
                                            vertical-align: middle;
                                            margin: 0;
                                        }
                                        span {
                                            font-size: 14px;
                                            color: #333333;
                                            vertical-align: middle;
                                        }
                                    }
                                    &:hover {
                                        background-color: transparent
                                    }
                                }
                            }
                        }
                        .li-chlid-hotsale {
                            width: 230px;
                            height: 453px;
                            padding: 0 0 0 5px;
                            background-color: #f5f5f5;
                            position: absolute;
                            top: 0;
                            left: 724px;
                            overflow: hidden;
                            display: none;
                            a {
                                vertical-align: top;
                                display: block;
                                width: 220px;
                                height: 215px;
                                font-size: 0;
                                margin-top: 10px;
                                img {
                                    width: 100%;
                                    height: 100%;
                                    margin: 0;
                                }
                                &:first-child {
                                    margin-top: 5px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

.self-adaption-title {
    width: 1230px;
    height: 60px;
    margin: 40px auto 10px;
    position: relative;
    .line {
        width: 100%;
        height: 1px;
        background-color: #E0E0E0;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }
    .nav-name {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        //width: 300px;
        height: 60px;
        font-size: 30px;
        color: #B0B0B0;
        background-color: #F5F5F5;
        text-align: center;
        padding: 6px 10px 0;
    }
}

.item-rainbow {
    width: 100%;
    background-color: white;
    padding: 45px 0 70px 105px;
    margin-bottom: 14px;
    border-left-style: solid;
    border-left-width: 2px;
}

//详细页，用户评论图片区
.comment-img-area {
    width: 910px;
    padding: 8px;
    clear: both;
    .comment-img {
        float: left;
        width: 85px;
        height: 83px;
        margin: 0 13px 15px 0;
        border: 1px solid #e5e5e5;
        overflow: hidden;
        img {
            width: 100%;
            height: 100%;
        }
    }
}

//详情页翻页按钮
.page-btn-box {
    width: 1230px;
    height: 40px;
    margin: 0 auto;
    background-color: white;
    font-size: 0;
    padding-top: 5px;
    .page-btn {
        width: 60px;
        height: 30px;
        background-color: white;
        border: 1px solid #E0E0E0;
        border-radius: 3px;
        font-size: 12px;
        color: #cccccc;
        margin-left: 10px;
        outline: none;
    }
}